package com.foreveross.taskservice.taskcache.redis.core;

import redis.clients.jedis.Jedis;
/**
 * 自定义的回调
 * 方便打开连接和释放资源
 * @author Administrator
 *
 * @param <T>
 */
public interface TaskRedisCallback<T> {
	
	T doInRedis(Jedis j)throws Exception;
}
